package com.cms.dao;

import com.cms.entity.Schedule;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface ScheduleMapper {

    List<Schedule> findAll();

    int insertSchedule (Schedule schedule);

    int updateSchedule (HashMap<String,String> updateMap);

    int deleteSchedule (String id);

}
